<template>
  <div id="app">
    <Tou v-if="this.$store.state.tou"></Tou>
    <router-view></router-view>
    <!-- <input type="file" @change="getimg"> -->
  </div>
</template>
<script>
import Tou from './components/zujian/shang.vue'
// import func from 'vue-editor-bridge'
// import axios from "axios"
export default {
  name: 'App',
  components: {
    Tou
  },
  data(){
    return {
      tou:1
    }
  },
  methods:{
  },
  // onLoad:{
  //   this.dian
  // }
  mounted(){
    
    this.$nextTick(() => {
                this.tou=this.$store.state.tou
            })
    console.log(this.tou);
  }
}
</script>

<style lang="less">
img{
  width: 300px;
}
</style>
